package com.xxx.system.mapper;

import com.xxx.system.domain.Logininfo;
import com.xxx.system.domain.Menu;
import com.xxx.system.domain.Permission;

import java.util.List;

public interface PermissionMapper {


    void addPermission(Permission permission);

    void updatePermission(Permission permission);

    Permission selectBySn(String permissionSn);

    List<Permission> findAll();

    List<String> findPermsByLogininInfoId(Long id);


}
